package com.wyman.aop;

/**
 * @Author 李伟民
 * @Description
 * @DateTime 2024/12/28 18:23
 */
public class TargetSource {

    private Object target;


    public TargetSource(Object obj){
        this.target = obj;
    }

    public Class<?>[] getTargetClass(){
        return target.getClass().getInterfaces();
    }

    public Object getTarget() {
        return target;
    }
}
